//
//  showDormInfoSpecify.cpp
//  宿舍管理系统
//
//  Created by 孟强定 on 2020/6/28.
//  Copyright © 2020 mqd. All rights reserved.
//

#include "list.hpp"

void showDormInfoSpecify();
    
void showDormInfoSpecify(){
    std::string s;
    while(1){
        printf("输入你要查看的宿舍:");
        std::cin>>s;
        if (!allBuildings.find(s)) printf("没有此宿舍\n");
        printf("==========================\n");
        printf("   1.继续查找     0.退出\n");
        printf("==========================\n");
        char c;
        std::cin>>c;
        if (c=='0') break;
        printBlank();
    }
}

